package org.jeecg.modules.dataArea.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 工区
 * @Author: jeecg-boot
 * @Date:   2023-02-12
 * @Version: V1.0
 */
@Data
@TableName("data_area")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="data_area对象", description="工区")
public class DataArea implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**工区ID*/
	@Excel(name = "工区ID", width = 15)
    @ApiModelProperty(value = "工区ID")
    private java.lang.Integer areaId;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private java.lang.String areaName;
	/**所属车间*/
	@Excel(name = "所属车间", width = 15, dictTable = "data_workshop", dicText = "workshop_name", dicCode = "workshop_id")
	@Dict(dictTable = "data_workshop", dicText = "workshop_name", dicCode = "workshop_id")
    @ApiModelProperty(value = "所属车间")
    private java.lang.Integer workshopId;
}
